import request from './request.js'
//获取openid
export const wxLogin=(params)=>{
	return request({
		url: "/api/login/wxlogin",
		method: "post",
		data: params,
	})
}
export const getWxPhone=(params)=>{
	return request({
		url: "/api/login/getWxPhone",
		method: "post",
		data: params,
	})
}

//完善个人信息
export const fillName=(params)=>{
	return request({
		url: "/api/login/fillName",
		method: "post",
		data: params,
	})
}
//获取配置
export const getConfig=(params)=>{
	return request({
		url: "/api/index/getConfig",
		method: "post",
		data: params,
	})
}
export const profile=(params)=>{
	return request({
		url: "/api/login/profile",
		method: "post",
		data: params,
	})
}
export const getStaff=(params)=>{
	return request({
		url: "/api/login/getStaff",
		method: "post",
		data: params,
	})
}
export const getUser=(params)=>{
	return request({
		url: "/api/login/getUser",
		method: "post",
		data: params,
	})
}


